home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 423_01 / recio200 / rcputf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-15  |  939 b   |  28 lines

  1. /*****************************************************************************
  2.    MODULE: rcputf.c
  3.   PURPOSE: recio column delimited floating point output functions
  4. COPYRIGHT: (C) 1994 William Pierpoint
  5.  COMPILER: Borland C Version 3.1
  6.        OS: MSDOS Version 6.2
  7.   VERSION: 2.00
  8.   RELEASE: April 15, 1994
  9. *****************************************************************************/
  10.  
  11. #include <errno.h>
  12. #include <float.h>
  13. #include <limits.h>
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16. #include <string.h>
  17.  
  18. #include "_rcputf.h"
  19.  
  20. extern char *dtoa(double d, int dig, char *str);
  21.  
  22. /****************************************************************************/
  23. /* rcput_fn() - define column delimited floating point put functions        */
  24. /****************************************************************************/
  25.  
  26. rcput_fn(float,  rcputf, double, dtoa, FLT_DIG) 
  27. rcput_fn(double, rcputd, double, dtoa, DBL_DIG)
  28.